gridpack::dynamic_simulation_r::DSFactoryModule Class Reference

#include <ds_factory_module.hpp>

Inheritance diagram for gridpack::dynamic_simulation_r::DSFactoryModule:
Inheritance graph
[legend]
Collaboration diagram for gridpack::dynamic_simulation_r::DSFactoryModule:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DSFactoryModule (NetworkPtr network)
 ~DSFactoryModule ()
void setYBus (void)
gridpack::ComplexType setFactor (int sw2_2, int sw3_2)
void setEvent (const DSBranch::Event &event)
bool checkGen (void)
void setDSParams ()
void initDSStep (bool flag)
void predDSStep (double t_inc)
void corrDSStep (double t_inc)

Constructor & Destructor Documentation

gridpack::dynamic_simulation_r::DSFactoryModule::DSFactoryModule ( NetworkPtr  network  ) 

Basic constructor

Parameters:
network,: network associated with factory
gridpack::dynamic_simulation_r::DSFactoryModule::~DSFactoryModule (  ) 

Basic destructor


Member Function Documentation

bool gridpack::dynamic_simulation_r::DSFactoryModule::checkGen ( void   ) 

Check network to see if there is a process with no generators

Returns:
true if all processors have at least on generator
void gridpack::dynamic_simulation_r::DSFactoryModule::corrDSStep ( double  t_inc  ) 

Evaluate corrector part of dynamic simulation step

Parameters:
t_inc time increment
void gridpack::dynamic_simulation_r::DSFactoryModule::initDSStep ( bool  flag  ) 

Evaluate first part of a dynamic simulation step

Parameters:
flag false if step is not initial step
void gridpack::dynamic_simulation_r::DSFactoryModule::predDSStep ( double  t_inc  ) 

Evaluate predictor part of dynamic simulation step

Parameters:
t_inc time increment
void gridpack::dynamic_simulation_r::DSFactoryModule::setDSParams (  ) 

Initialize dynamic simulation data structures

void gridpack::dynamic_simulation_r::DSFactoryModule::setEvent ( const DSBranch::Event &  event  ) 

Apply an event to all branches in the system

Parameters:
event a struct describing a fault
gridpack::ComplexType gridpack::dynamic_simulation_r::DSFactoryModule::setFactor ( int  sw2_2,
int  sw3_2 
)

Get the updating factor for posfy11 stage ybus

void gridpack::dynamic_simulation_r::DSFactoryModule::setYBus ( void   ) 

Create the admittance (Y-Bus) matrix


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Feb 2020 for GridPACK by  doxygen 1.6.1